package com.hd.core.project.module.domain;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * 资料文件标题实体
 */
@TableName("module_edu_upload_data_title")
public class EduUploadDataTitle{

    @TableId(type = IdType.AUTO)
    private Integer id;

    /*
     * 标题对应的文件类型(一共是六种):
     * 1:加课汇总 2:课程课时统计 3:课程代课统计
     * 4:课头补贴 5:晚自习课时汇总 6:晚自习代课汇总
     */
    private Integer type;

    //文件对应的年份
    private Integer year;

    //文件对应的月份
    private Integer month;

    //标题行的索引 y轴
    private String index;

    //sheet页名称
    private String sheetName;

    //文件路径
    private String filePath;

    //Excel中对应的标题行序列化成JSON数据
    private String titleJson;

    public EduUploadDataTitle() {
    }

    public EduUploadDataTitle(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Integer getMonth() {
        return month;
    }

    public void setMonth(Integer month) {
        this.month = month;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public String getSheetName() {
        return sheetName;
    }

    public void setSheetName(String sheetName) {
        this.sheetName = sheetName;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getTitleJson() {
        return titleJson;
    }

    public void setTitleJson(String titleJson) {
        this.titleJson = titleJson;
    }

    @Override
    public String toString() {
        return "EduUploadDataTitle{" +
                "type=" + type +
                ", year=" + year +
                ", month=" + month +
                ", index='" + index + '\'' +
                ", sheetName='" + sheetName + '\'' +
                ", filePath='" + filePath + '\'' +
                ", titleJson='" + titleJson + '\'' +
                '}';
    }
}
